<?php
/*********************************************************************************
 * Copyright (C) 2011-2013 X2Engine Inc. All Rights Reserved.
 *
 * X2Engine Inc.
 * P.O. Box 66752
 * Scotts Valley, California 95067 USA
 *
 * Company website: http://www.x2engine.com
 * Community and support website: http://www.x2community.com
 *
 * X2Engine Inc. grants you a perpetual, non-exclusive, non-transferable license
 * to install and use this Software for your internal business purposes.
 * You shall not modify, distribute, license or sublicense the Software.
 * Title, ownership, and all intellectual property rights in the Software belong
 * exclusively to X2Engine.
 *
 * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EITHER
 * EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT.
 ********************************************************************************/
?>
<h2><center><?php echo Yii::t('app','Side Panel Settings'); ?></center></h2>
<center><p>Below you see a listing of all potential widgets to be shown on the side panel. Please use this listing for setting your desired configurations of the side panel.</p></center>
<?php
$this->widget('zii.widgets.grid.CGridView',array(
    'id'=>'dashboard-grid',
    'baseScriptUrl'=>Yii::app()->request->baseUrl.'/themes/'.Yii::app()->theme->name.'/css',
    'template'=>'{items}{pager}',
    'dataProvider'=>new Dashboard('search'),
    'filter'=>$model,
    'columns'=>array(
        'widgetName',
        'visibleProfile',
        'visibleDashboard',
        'orderProfile',
        'orderDashboard',
    ),
));
?>

